class CreateAnimals < ActiveRecord::Migration
  def change
    create_table :animals do |t|
      t.string :nome
      t.string :descricao
      t.references :ong, index: true
      t.references :adotante, index: true
      t.column :tipo, :integer, default: 0
      
      t.timestamps
    end
  end
end
